<?php

declare(strict_types=1);

/**
 * @Author:     Frank
 * @contact     frank_hhm@163.com
 * @Date:       2023-02-14 19:04:29
 * @Last Modified time: 2023-02-16 10:53:09
 */
namespace addon\wechat\api\controller;

use frank\base\BaseController;
/**
 * 支付回调
 * Class Notify
 * @package addon\wechat\controller
 */
class Notify extends BaseController
{

    /**
     * @method(GET,POST)
     */
    public function index(){
        // 微信支付组件：验证异步通知
        return event('WechatPayNotify');
        
    }
    /**
     * @method(GET,POST)
     */
    public function refund(){
        // 微信支付退款组件：验证异步通知
        return event('WechatPayRefundNotify');
    }
}

